﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MINERP.FactoryMerger
{
    public partial class OutScan : UserControl
    {
        public OutScan()
        {
            InitializeComponent();
        }

        public string gridname { get; set; }
        public bool existence { get; set; }
        public string shopName { get; set; }
        public string ctmName { get; set; }
        public string orderName { get; set; }
        public string orderCode { get; set; }
        public int Num { get; set; }

        private void OutScan_Load(object sender, EventArgs e)
        {
            RefreshNum();
        }

        public void RefreshNum()
        {
            gridName.Text = gridname;
            txtshopName.Text = shopName;
            txtctmName.Text = ctmName;
            txtorderName.Text = orderName;
            txtorderCode.Text = orderCode;
            txtNum.Text = Num.ToString();
        }
        public void RefreshQC()
        {
           
            txtshopName.Text = "";
            txtctmName.Text = "";
            txtorderName.Text = "";
            txtorderCode.Text = "";
            txtNum.Text = "0";
        }
    }
}
